<template>
	<div class="main">
		<div class="main_box">
			<keep-alive>
				<router-view />
			</keep-alive>
		</div>
		<navbar />
	</div>
</template>

<script>
	import navbar from '@/components/navbar.vue'
	export default {
		name: 'Main',
		components: {
			navbar
		}
	}
</script>

<style lang="scss" scoped>
	@import '@/assets/css/element.scss';
	.main{
		@include container;
		.main_box{
			flex: 1;
			overflow: auto;
		}
	}
</style>